package com.book.controller.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author zzw2000
 * @Date 2022年08月24日 20:04
 * @Description 描述
 */
@Controller
@RequestMapping("/page/auth")
public class AuthPageController {

    /*@RequestMapping("/index")
    public String index(@SessionAttribute(value = "user", required = false) Users users, Model model) {
        model.addAttribute("user", users);
        return "index";
    }*/

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/register")
    public String register() {
        return "register";
    }
}
